package com.zhiyun.mapper;

import com.zhiyun.domain.Teacher;

import java.util.List;

public interface TeacherMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Teacher record);

    Teacher selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(Teacher record);

    Teacher selectByUserId(Integer id);

    Teacher selectByTeacherId(int teacherId);

    List<Teacher> findAll();
}